ChatbotMessageManager

constructor(addCurrentBranchLog: (List<ChatMessage>, ChatBranch) -> Unit, addCurrentBranchLogWithDate: (List<ChatMessage>, ChatBranch, Date?) -> Unit)

Parameters

addCurrentBranchLog

A function that adds the current branch log to the main log list.

addCurrentBranchLogWithDate

A function that adds the current branch log with a date to the main log list.